<span ng-if="decoration.data == 'TEMPLATE_INSTANCE'">
    <span class="fa fa-link text-info"></span>
</span>
<span ng-if="decoration.data == 'TEMPLATE_DEFINITION'">
    <span class="fa fa-share-alt text-success"></span>
</span>